package com.hz.qs.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


@Data
@ApiModel(description = "用户信息对象")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = -3821914432791782552L;

    @ApiModelProperty(value = "人员代码", name = "YHRYDM",required = true)
    private String userCode;

    @ApiModelProperty(value = "机构代码", name = "ZZJGDM")
    private String ZZJGDM;

    @ApiModelProperty(value = "人员编号", name = "YHRYBH",required = true)
    private String userName;

    @ApiModelProperty(value = "人员名称", name = "YHRYMC",required = true)
    private String userNameZH;

    @ApiModelProperty(value = "登录密码", name = "YHDLMM")
    private String password;

    @ApiModelProperty(value = "机构判别", name = "YHJGPB")
    private BigDecimal YHJGPB;

    @ApiModelProperty(value = "超级用户 0=管理员", name = "CJYHPB")
    private BigDecimal adminer;

    @ApiModelProperty(value = "是否在线", name = "YHSFZX")
    private BigDecimal YHSFZX;

    @ApiModelProperty(value = "人员头像", name = "RYTX")
    private String RYTX;

    @ApiModelProperty(value = "年龄", name = "NL")
    private Integer age;

    @ApiModelProperty(value = "性别", name = "XB")
    private String sex;

    @ApiModelProperty(value = "是否启用(0=启用；1=不启用)", name = "SFQY",required = true)
    private String userd;

    @ApiModelProperty(value = "身份判别1-健管师2-管理员3-临床医生", name = "RYSFPB")
    private Integer idDiff;

    @ApiModelProperty(value = "手机号", name = "PHONE")
    private String phone;

    @ApiModelProperty(value = "科室代码", name = "KSDM")
    private String deptCode;

    private String activeId;
}
